package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_xz_productFactory" )
@Table( name ="t_xz_productFactory" )
public class ProductFactory  implements Serializable {


	/**
	 * 商城 生产商id
	 */
    @Id
   	@Column(name = "factory_id",updatable = false )
	@ApiModelProperty( value="商城 生产商id")
	private Integer factoryId;

	/**
	 * 生产商名字
	 */
   	@Column(name = "factory_name" )
	@ApiModelProperty( value="生产商名字")
	private String factoryName;

	/**
	 * 0 下架 1上架
	 */
   	@Column(name = "factory_status" )
	@ApiModelProperty( value="0 下架 1上架")
	private Integer factoryStatus;

	/**
	 * 公司id
	 */
   	@Column(name = "company_id" )
	@ApiModelProperty( value="公司id")
	private Integer companyId;



  public String getFactoryName() {
    return factoryName;
  }

  public void setFactoryName(String factoryName) {
    this.factoryName = factoryName;
  }


  public Integer getFactoryStatus() {
    return factoryStatus;
  }

  public void setFactoryStatus(Integer factoryStatus) {
    this.factoryStatus = factoryStatus;
  }


  public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }

    public Integer getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Integer factoryId) {
        this.factoryId = factoryId;
    }
}
